<?php
declare (strict_types = 1);

namespace app\admin\subscribe;

use think\facade\Cache;

class Login
{
    public function onLogin(\app\admin\event\Login $login)
    {
        Cache::set($login->admin->admin_id,$login->admin->token);
    }
}
